import { forwardRef, Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { UserRelationService } from './user-relation.service';
import { UserRelationController } from './user-relation.controller';
import { User } from '@/modules/app/entities';
import { UserRelation } from './entities/user-relation.entity';

@Module({
  imports: [
    TypeOrmModule.forFeature([User, UserRelation]),
    forwardRef(() => User),
  ],
  controllers: [UserRelationController],
  providers: [UserRelationService],
})
export class UserRelationModule {}
